#ifndef UDPIQRECEIVER_H
#define UDPIQRECEIVER_H

#include <QObject>
#include <QUdpSocket>
#include <QFile>
#include <QCoreApplication>
#include <QDir>
#include <QDateTime>
class UdpIqReceiver : public QObject
{
    Q_OBJECT

public:
    explicit UdpIqReceiver(const QHostAddress &groupAddress, quint16 port, QObject *parent = nullptr);
    ~UdpIqReceiver();

private slots:
    void receiveData();

private:
    QUdpSocket *socket;
    QFile *file;
};


#endif // UDPIQRECEIVER_H
